package com.xuehu.cloud.service.failback;

import com.xuehu.cloud.service.PaymentFeignService;
import com.xuehu.cloud.service.PaymentFeignService2;
import org.springframework.stereotype.Component;

/**
 * @author guoweia@cslc.com.cn
 * @createTime 2020/12/2 17:11
 * @description
 */
@Component
public class PaymentFeignFailbackService implements PaymentFeignService {
    @Override
    public String paymentOk(Long id) {
        return "PaymentFeignFailbackService-paymentOk-id=" + id;
    }

    @Override
    public String paymentTimeout(Long id) {
        return "PaymentFeignFailbackService-paymentTimeout-id=" + id;
    }
}
